package com.kgc.service;

import com.github.pagehelper.PageInfo;
import com.kgc.pojo.Product;
import com.kgc.pojo.Sale;

import java.util.List;

public interface SaleService {
    Integer addSale(Sale sale,Product product) throws IllegalAccessException;

    PageInfo<Sale> selectSaleList(String order, Integer pageNo, Integer pageSize);
}
